package com.isunland.managesystem.adapter;

import android.content.Context;
import com.isunland.managesystem.R;
import com.isunland.managesystem.base.BaseShadowListAdapter;
import com.isunland.managesystem.entity.FittingUsed;
import java.util.List;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/2/23 15:09
 */
public class FittingUsedListAdapter extends BaseShadowListAdapter<FittingUsed> {
  public FittingUsedListAdapter(Context context, List<FittingUsed> objects) {
    super(context, objects);
  }

  @Override public void bindData(int position, ViewHolder vh, FittingUsed item) {
    vh.mContentOneTv.setText(item.getMaterialKindName());
    vh.mContentOneTv.setTextColor(getContext().getResources().getColor(R.color.chocolate));
    vh.mContentTwoTv.setText(item.getMaterialName());
    vh.mContentThreeTv.setText(item.getRemark());
  }
}
